package com.oa.ylms.apps.dao.assess;

import java.util.List;

import com.oa.ylms.apps.entity.archives.ArchiveInfoValue;
import com.oa.ylms.apps.entity.assess.AssessDetailInfoValue;
import com.oa.ylms.apps.entity.assess.AssessInfoValue;


public interface IAssessDetailInfoDao {
	
	public int addAssessDetailInfo(AssessDetailInfoValue assessDetailInfo) throws Exception;
	
	public boolean deleteAssessDetailInfo(AssessDetailInfoValue assessDetailInfo) throws Exception;
	
	public boolean modifyAssessDetailInfo(AssessDetailInfoValue assessDetailInfo) throws Exception;
	
	public AssessDetailInfoValue queryAssessDetaiInfoByDetailId(int detailId) throws Exception;

	public List<AssessDetailInfoValue> queryAllAssessDetailInfo() throws Exception;
	
	public List<AssessDetailInfoValue> queryAssessDetailInfoWithPageByAssessId(ArchiveInfoValue archiveInfo, AssessInfoValue assessInfo, int rows, int pageNo) throws Exception;

	public int countTpages(ArchiveInfoValue archiveInfo, AssessInfoValue assessInfo,int rows) throws Exception;

	public int getTotalNumber()throws Exception;
}
